Clickio\CacheControl\CacheManager C

Total Complexity 118
Dependencies 11
Dependents 2
Total lines 874
Lines of code 500
Logical lines of code 247
Comment lines 268
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
purge_post()
C
29 27 123
initAdminBar()
B
40 18 57
init()
A
46 12 35
execute_purge()
A
51 11 25
clearCache()
A
46 8 37
purge()
S
54 5 21
getIconSvg()
S
55 5 16
purgeTaxonomy()
S
51 4 27
__construct()
S
55 4 17
forcePurgeCache()
S
54 3 22
execute_purge_no_id()
S
59 3 14
getRegisterEvents()
S
54 1 25
getNoIdEvents()
S
59 1 16
checkUpgrades()
S
74 2 5
purgeOldPostSlug()
S
67 2 7
getTaxonomyEvents()
S
73 1 6
getAllCacheServices()
S
81 1 3
theHomeUrl()
S
75 1 4
getPurgeCanonicalEvents()
S
69 1 8
adminMessagePurge()
S
70 1 7
info()
S
76 1 4
warning()
S
76 1 4
error()
S
76 1 4
getServices()
S
82 1 3
initAdmin()
S
80 1 3
addPurgeUrl()
S
80 1 3
debug()
S
75 1 4